.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 600px;
  cursor: grab;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.marker {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ff5722;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.marker:hover {
  transform: scale(1.2);
  background-color: #e64a19;
}

.info-window {
  position: absolute;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  width: 280px;
  z-index: 20;
  display: none;
  transition: opacity 0.3s ease;
}

.info-window h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.info-window p {
  margin-bottom: 12px;
  color: #666;
  line-height: 1.5;
}

.nav-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.2s;
}

.nav-btn:hover {
  background-color: #3a5a8a;
}

.control-panel {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 详情页样式 */
.detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.back-btn {
  background-color: #4a6fa5;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  background-color: #3a5a8a;
}

.location-title {
  font-size: 2rem;
  color: #333;
  margin: 0;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.location-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.location-details h3 {
  color: #4a6fa5;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.detail-section {
  margin-bottom: 25px;
}

.detail-section p {
  line-height: 1.6;
  color: #555;
}

.features-list {
  list-style-type: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.features-list li:before {
  content: "•";
  color: #ff5722;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -5px;
}

@media (max-width: 768px) {
  .detail-content {
    grid-template-columns: 1fr;
  }
}
